package net.modul.dept.service;

import com.beyond.exception.XException;

import net.common.service.GeneralService;
import net.modul.dept.dao.DeptDao;
import net.modul.dept.dao.impl.DeptDaoImpl;
import net.modul.dept.vo.DeptVo;

/**
 * 部门删除业务处理
 * 
 * @author Administrator
 * 
 */
public class DeptDeleteService extends GeneralService {

	private DeptVo bean;

	@Override
	public void execute() throws Exception {
		DeptDao dao = new DeptDaoImpl();
		bean.setFlag(1);
			dao.updateFlag(bean);
	}

	public void setBean(DeptVo bean) {
		this.bean = bean;
	}

}
